package com.firmail.dao;

import com.firmail.entity.MockApiInfo;
import com.firmail.entity.MockApiInfoExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface MockApiInfoMapper {
    long countByExample(MockApiInfoExample example);

    int deleteByExample(MockApiInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MockApiInfo record);

    int insertSelective(MockApiInfo record);

    List<MockApiInfo> selectByExampleWithBLOBsWithRowbounds(MockApiInfoExample example, RowBounds rowBounds);

    List<MockApiInfo> selectByExampleWithBLOBs(MockApiInfoExample example);

    List<MockApiInfo> selectByExampleWithRowbounds(MockApiInfoExample example, RowBounds rowBounds);

    List<MockApiInfo> selectByExample(MockApiInfoExample example);

    MockApiInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MockApiInfo record, @Param("example") MockApiInfoExample example);

    int updateByExampleWithBLOBs(@Param("record") MockApiInfo record, @Param("example") MockApiInfoExample example);

    int updateByExample(@Param("record") MockApiInfo record, @Param("example") MockApiInfoExample example);

    int updateByPrimaryKeySelective(MockApiInfo record);

    int updateByPrimaryKeyWithBLOBs(MockApiInfo record);

    int updateByPrimaryKey(MockApiInfo record);
}